# Template file for 'edbrowse'
pkgname=edbrowse
version=3.7.1
revision=2
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=12edf1834bbfb93335002c222a0f472eb4551a5b3a99d67c8a5e9dc05f97e37a

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
}
