# Maintainer: Celeste <cielesti@protonmail.com>
pkgname=monkeysphere
pkgver=0.44
pkgrel=2
pkgdesc="OpenPGP web of trust certification tools for SSH and TLS servers"
options="!check" # 2 Tests fail on CI
url="https://github.com/dkg/monkeysphere"
arch="all"
license="GPL-3.0-or-later"
depends="gnupg cmd:openssl openssh-keygen perl perl-crypt-openssl-bignum
	perl-crypt-openssl-rsa bash lockfile-progs"
makedepends="libassuan-dev libgcrypt-dev"
checkdepends="socat procps openssh-server findutils coreutils" # mktemp
subpackages="$pkgname-doc"
source="https://deb.debian.org/debian/pool/main/m/monkeysphere/monkeysphere_$pkgver.orig.tar.gz"

build() {
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
cb3c655a08b1c0a382502f8609f57d0c870fe4491b1b967e9931bdfd146b3926470496577949630452e073f04442b91a1ef679254c0f3091a834f3429e0f8e93  monkeysphere_0.44.orig.tar.gz
"
