# Template file for 'edbrowse'
pkgname=edbrowse
version=3.7.4
revision=2
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=b79e6417c1170c96ef68968c33d585725f0f2d27859e3fe807c980a9c33ea719

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
}
