# Template file for 'netpgpverify'
pkgname=netpgpverify
version=20160625
revision=1
build_style=configure
configure_args="--prefix=/usr --mandir=/usr/share/man"
short_desc="PGP/SSH standalone verification utility"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="2-clause-BSD"
homepage="http://www.netpgp.com"
distfiles="http://www.netpgp.com/src/${pkgname}-${version}.tar.gz"
checksum=94264c2544e20dbeceeb4f5473e485547c40101459b412c14b9e7a8bbf55576c

post_extract() {
	sed -i '/CC.*-o/s/$/ $(LDFLAGS)/' Makefile.in
}
post_install() {
	sed '/\*\//q' main.c >LICENSE
	vlicense LICENSE
}
