# Template file for 'openradtool'
pkgname=openradtool
version=0.13.8
revision=1
build_style=configure
configure_args="PREFIX=/usr MANDIR=/usr/share/man"
make_cmd="bmake"
make_check_target="regress"
hostmakedepends="bmake pkg-config which"
makedepends="expat-devel"
checkdepends="kcgi ksql sqlite zlib-devel"
short_desc="Web application source generator"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="ISC"
homepage="https://kristaps.bsd.lv/openradtool/"
changelog="https://kristaps.bsd.lv/openradtool/archive.html"
distfiles="https://kristaps.bsd.lv/openradtool/snapshots/openradtool-${version}.tar.gz"
checksum=5c2750d12630f325b292c87b30cbba390ca881226026a9386530572ebb1e3eb7

post_install() {
	sed -n '2,16p' main.c >LICENSE
	vlicense LICENSE
}
