# Template file for 'tpm2-tools'
pkgname=tpm2-tools
version=5.8
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=1cb73185cae814b4e15c7c2d0b22642d640faf48775f4156a1fd92edf84bef73

make_check=no # needs tpm2_abrmd and access to tpm?

post_install() {
	vlicense docs/LICENSE
}
