# Template file for 'tpm2-tools'
pkgname=tpm2-tools
version=5.7
revision=1
build_style=gnu-configure
hostmakedepends="libtool pkg-config pandoc"
makedepends="libcurl-devel openssl-devel tpm2-tss-devel libefivar-devel"
checkdepends="cmocka-devel"
short_desc="Trusted Platform Module (TPM2.0) tools"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/tpm2-software/tpm2-tools/"
changelog="https://raw.githubusercontent.com/tpm2-software/tpm2-tools/master/docs/CHANGELOG.md"
distfiles="https://github.com/tpm2-software/tpm2-tools/releases/download/${version}/tpm2-tools-${version}.tar.gz"
checksum=3810d36b5079256f4f2f7ce552e22213d43b1031c131538df8a2dbc3c570983a

make_check=no # needs tpm2_abrmd and access to tpm?

post_install() {
	vlicense docs/LICENSE
}
