# Template file for 'edbrowse'
pkgname=edbrowse
version=3.7.6
revision=1
hostmakedepends="perl pkg-config"
build_style=cmake
makedepends="duktape-devel libcurl-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.0-or-later"
homepage="http://edbrowse.org/"
distfiles="https://github.com/CMB/${pkgname}/archive/v${version}.tar.gz"
checksum=a47a7ba363a72d310b08edee9847fbcfe0b7d1bf53c7b5cf4da10aae237b0abb

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
}
