# Template file for 'nickle'
pkgname=nickle
version=2.101
revision=1
build_style=meson
hostmakedepends="bc flex pkg-config"
makedepends="gmp-devel readline-devel"
short_desc="Powerful desk calculator language"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="MIT"
homepage="https://nickle.org/"
changelog="https://keithp.com/cgit/nickle.git/log/"
distfiles="https://nickle.org/release/${pkgname}-${version}.tar.xz"
checksum=08f12ea1fb68fd76346cce45446a286c47a40ed0996dc93f20d41b2dac5263c5

post_install() {
	vmkdir usr/share/examples
	mv ${DESTDIR}/usr/share/nickle/examples ${DESTDIR}/usr/share/examples/nickle
	rm -rf ${DESTDIR}/usr/include
	vlicense COPYING
}
