# Template file for 'edbrowse'
pkgname=edbrowse
version=3.7.2
revision=1
hostmakedepends="pkg-config perl"
build_style="cmake"
makedepends="duktape-devel libcurl-devel libressl-devel libtidy5-devel
 pcre-devel readline-devel"
short_desc="Line-oriented text editor, web browser and mail client similar to ed(1)"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-3"
homepage="http://edbrowse.org/"
distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
checksum=6310b72ecc509e5726059afe63b675187a427a1e918c89aa98507dcdc9e42cbd

do_install() {
	vbin build/edbrowse
	vsconf doc/sample.ebrc
	vman doc/man-edbrowse-debian.1 edbrowse.1
	vdoc doc/usersguide.html
	vdoc README
	vdoc CHANGES
	vlicense COPYING
}
