# Template file for 'neatvi'
pkgname=neatvi
version=13
revision=1
build_style=gnu-makefile
short_desc="Small ex/vi editor"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="ISC"
homepage="http://litcave.rudi.ir/"
distfiles="https://github.com/litcave/${pkgname}/archive/${version}.tar.gz"
checksum=90e5f3791c4ea66eb261a08b4a037cef3a48521267139886f19d1309ef63c290

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

do_install() {
	vbin vi neatvi
	ln -s neatvi ${DESTDIR}/usr/bin/neatex
	sed -n '0,/\*\//p' <vi.c >LICENSE
	vlicense LICENSE
}
