# Template file for 'git-crypt'
pkgname=git-crypt
version=0.8.0
revision=1
build_style=gnu-makefile
make_use_env=yes
make_build_args="ENABLE_MAN=yes"
make_install_args="ENABLE_MAN=yes"
hostmakedepends="libxslt docbook-xsl"
makedepends="openssl-devel"
short_desc="Transparent file encryption in git"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://www.agwa.name/projects/git-crypt/"
distfiles="https://github.com/AGWA/git-crypt/archive/${version}.tar.gz"
checksum=786199c24f8b79a54d62b98c24b1113606c4ebd83125e642b228704686305e69

do_build() {
	make \
		PREFIX=/usr prefix=/usr \
		${makejobs} ${make_build_args} ${make_build_target}
}

post_install() {
	vdoc README
	vdoc AUTHORS
	vdoc NEWS
	vdoc doc/multiple_keys.md
	vman man/man1/git-crypt.1
}
