# Template file for 'jupp'
pkgname=jupp
version=3.1jupp29
revision=1
build_style=gnu-configure
configure_args="--disable-dependency-tracking --disable-termidx"
makedepends="ncurses-devel"
conflicts="joe>=0"
wrksrc="jupp"
conf_files="
	/etc/joe/joerc
	/etc/joe/rjoerc
	/etc/joe/jpicorc
	/etc/joe/jmacsrc
	/etc/joe/jstarrc
	/etc/joe/jupprc"
short_desc="Portable version of JOE’s Own Editor"
maintainer='Juan RP <xtraeme@voidlinux.eu>'
license="GPL-1"
homepage="https://www.mirbsd.org/jupp.htm"
distfiles="https://www.mirbsd.org/MirOS/dist/${pkgname}/joe-${version}.tgz"
checksum=c0ca11a082e18f99c502f9984dadf40ba02576571ff788d334e633ff383a7729

pre_configure() {
	chmod +x configure
}

post_install() {
	vlicense COPYING LICENSE
	vdoc INFO
	vdoc LIST
	vdoc NEWS
}
