# Template file for 'signing-party'
pkgname=signing-party
version=2.11
revision=1
build_style=gnu-makefile
hostmakedepends="perl autoconf automake"
makedepends="libmd-devel"
depends="perl-Class-MethodMaker perl-GnuPG-Interface perl-MailTools
 perl-MIME-tools perl-Net-IDN-Encode perl-Term-ReadKey perl-Text-Template
 qprint" # keyanalyze should be in here, but it's currently broken
short_desc="OpenPGP tools for signing keys, keyring analysis, and party preparation"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause, GPL-2.0-or-later, GPL-2.0-only, MIT, BSD-2-Clause, GPL-3.0-or-later"
homepage="https://salsa.debian.org/signing-party-team/signing-party"
distfiles="https://salsa.debian.org/${pkgname}-team/${pkgname}/-/archive/v${version}/${pkgname}-v${version}.tar.gz"
checksum=e339cfea9af6f12bf09de8aa6c8972c168d2eb712cb72a8a7415e3f7ecb43cf2

post_patch() {
# keyanalyze has built separately for crosscompiling to work.
# building keyanalyze is also broken right now, so it's not included so far
	vsed -i Makefile -e 's/keyanalyze//'
}

post_install() {
	vlicense debian/copyright
}
