# Template file for 'cfssl'
pkgname=cfssl
version=1.6.5
revision=1
build_style=go
go_import_path=github.com/cloudflare/cfssl
go_package="${go_import_path}/cmd/..."
go_ldflags="-X github.com/cloudflare/cfssl/cli/version.version=${version}"
short_desc="CFSSL: Cloudflare's PKI and TLS toolkit"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://github.com/cloudflare/cfssl"
distfiles="https://github.com/cloudflare/cfssl/archive/v${version}.tar.gz"
checksum=b682452402f403b6ee668bb042bd9b753fe48df84fa7a18a1c32606ffd4918af
replaces="cfssljson>=0"

post_install() {
	vlicense LICENSE
	vdoc README.md
	vcopy 'doc/*' "usr/share/doc/${pkgname}"
}
