diff --git a/community/libssh/APKBUILD b/community/libssh/APKBUILD
index bd4439142c26e644981b53f4897c3d2d06e08033..b5eeda9d04371e4512b531f40923a5f306c4ddb4 100644
--- a/community/libssh/APKBUILD
+++ b/community/libssh/APKBUILD
@@ -1,15 +1,15 @@
 # Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
 # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
 pkgname=libssh
-pkgver=0.9.6
-pkgrel=2
+pkgver=0.10.0
+pkgrel=0
 pkgdesc="Library for accessing ssh client services through C libraries"
 options="!check" # Tests require CLIENT_TESTING enabled which needs socket_wrapper
 url="https://www.libssh.org/"
 arch="all"
 license="LGPL-2.1-or-later BSD-2-Clause"
 depends_dev="openssl-dev>3 zlib-dev"
-makedepends="$depends_dev cmake doxygen"
+makedepends="$depends_dev cmake samurai"
 checkdepends="cmocka-dev"
 subpackages="$pkgname-dev"
 source="https://www.libssh.org/files/${pkgver%.*}/libssh-$pkgver.tar.xz
@@ -28,7 +28,7 @@ source="https://www.libssh.org/files/${pkgver%.*}/libssh-$pkgver.tar.xz
 #     - CVE-2018-10933
 
 build() {
-	cmake -B build \
+	cmake -B build -G Ninja \
 		-DCMAKE_BUILD_TYPE=None \
 		-DCMAKE_INSTALL_PREFIX=/usr \
 		-DCMAKE_INSTALL_LIBDIR=lib \
@@ -50,5 +50,5 @@ package() {
 }
 
 sha512sums="
-4040ec4af937e95be2e41313ef6d4db60b46b8d4dea10c09402398127c1d1ca8843392d207088aeee3c7ef631c6ae7b66861327dcebf78ed3af0723777619fd1  libssh-0.9.6.tar.xz
+d97235f78b94a980aabc844ee7614108944967441219f0c2417b207734d5200eb26efd5fd6de0da97a34fb612b843dc0a3b32a3364c1d8333e4c49680212aaaa  libssh-0.10.0.tar.xz
 "