# Template file for 'edbrowse'
pkgname=edbrowse
version=3.8.10
revision=1
build_style=gnu-makefile
hostmakedepends="perl pkg-config"
makedepends="libcurl-devel pcre2-devel quickjs-devel readline-devel
 unixodbc-devel"
make_build_args="QUICKJS_LDFLAGS=-lquickjs QUICKJS_INCLUDE=${XBPS_CROSS_BASE}/usr/include/quickjs"
make_use_env=true
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, MIT"
homepage="http://edbrowse.org/"
changelog="https://raw.githubusercontent.com/CMB/edbrowse/master/CHANGES"
distfiles="https://github.com/CMB/edbrowse/archive/v${version}.tar.gz"
checksum=3c194ce45b7348211ce3ad8e3304a0eacf8b27e623cbf8c08687785f88174e03

do_install() {
	vbin src/edbrowse
	vsconf doc/sample.ebrc
	vman doc/man-edbrowse-debian.1 edbrowse.1
	vdoc doc/usersguide.html
	vdoc README
	vdoc CHANGES
	vlicense COPYING
}
