# Template file for 'tweak'
pkgname=tweak
version=3.02
revision=1
makedepends="ncurses-devel"
short_desc="Efficient hex editor supporting insert and delete"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="MIT"
homepage="http://www.chiark.greenend.org.uk/~sgtatham/tweak/"
distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=5b4c19b1bf8734d1623e723644b8da58150b882efa9f23bbe797c3922f295a1a

do_build() {
	make ${makejobs} CC="$CC" LINK="$CC" CFLAGS="-c $CFLAGS" LIBS="$LDFLAGS -lncurses"
}

do_install() {
	vbin tweak
	vman tweak.1
	vlicense LICENCE LICENSE
}
