# Template file for 'fossil'
pkgname=fossil
version=1.34
revision=1
wrksrc="fossil-src-${version}"
build_style=configure
hostmakedepends="tcl"
makedepends="zlib-devel libressl-devel readline-devel sqlite-devel"
short_desc="Simple, high-reliability, distributed software configuration management"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="2-clause-BSD"
homepage="http://www.fossil-scm.org"
distfiles="http://www.fossil-scm.org/download/fossil-src-${version}.tar.gz"
checksum=53a6b83e878feced9ac7705f87e5b6ea82727314e3e19202ae1c46c7e4dba49f

do_configure() {
	./configure --prefix=/usr --disable-internal-sqlite
}
post_install() {
	vman fossil.1
	vlicense COPYRIGHT-BSD2.txt LICENSE
}
