# Template file for 'ksql'
pkgname=ksql
version=0.3.5
revision=2
build_style=configure
configure_args="PREFIX=/usr MANDIR=/usr/share/man"
hostmakedepends="sqlite"
makedepends="sqlite-devel"
depends="sqlite-devel"
short_desc="Yet another SQLite wrapper"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="ISC"
homepage="https://kristaps.bsd.lv/ksql/"
distfiles="https://kristaps.bsd.lv/ksql/snapshots/ksql-${version}.tar.gz"
checksum=8db29bf3af8a8af0b151efbcc0e9a908851e03b387601fda185cb06326501cb5

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