# Template file for 'edbrowse'
pkgname=edbrowse
version=3.7.5.1
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=096eb9051f9cde4cf71c833fa43f602fb3db40af056d1fab98a1711abf42caba

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
}
