# Template file for 'fossil'
pkgname=fossil
version=2.2
revision=1
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="https://www.fossil-scm.org"
distfiles="https://www.fossil-scm.org/index.html/uv/fossil-src-${version}.tar.gz"
checksum=9b8f82196eb89e4a2e82b4bcc51e314ae509a22c37073a18a0b325f11c53cf71

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