# Template file for 'spiped'
pkgname=spiped
version=1.5.0
revision=4
build_style=gnu-makefile
makedepends="libressl-devel"
short_desc="The spiped secure pipe daemon"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="2-clause-BSD"
homepage="http://www.tarsnap.com/spiped.html"
distfiles="http://www.tarsnap.com/spiped/spiped-${version}.tgz"
checksum=b2f74b34fb62fd37d6e2bfc969a209c039b88847e853a49e91768dec625facd7

pre_install() {
	# remove hardcoded strip(1)
	sed -i '/strip .*/d' */Makefile
}
do_install() {
	vmkdir usr/bin
	vmkdir usr/share/man/man1
	make BINDIR=${DESTDIR}/usr/bin MAN1DIR=${DESTDIR}/usr/share/man/man1 install
	vlicense COPYRIGHT
}
