# Template file for 'neatvi'
pkgname=neatvi
version=03
revision=1
build_style=gnu-makefile
short_desc="Small ex/vi editor"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="ISC"
homepage="http://litcave.rudi.ir/"
distfiles="https://github.com/litcave/${pkgname}/archive/${version}.tar.gz"
checksum=23d88a58ca2ed808198cab43ba096395630a6bfbedc869131e731f3a0b0f1f57

alternatives="
 vi:ex:/usr/bin/neatvi
 vi:vi:/usr/bin/neatvi
"

do_install() {
	vbin vi neatvi
	sed -n '0,/\*\//p' <vi.c >LICENSE
	vlicense LICENSE
}
