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

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
}
