# Template file for 'hitch'
pkgname=hitch
version=1.4.4
revision=1
build_style=gnu-configure
configure_args="ac_cv_so_reuseport_works=yes"
hostmakedepends="pkg-config"
makedepends="libev-devel libressl-devel"
short_desc="Libev-based high performance SSL/TLS proxy"
maintainer="Jannis Christ <hello@jannis.ovh>"
license="2-clause-BSD"
homepage="https://hitch-tls.org/"
distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
checksum=5b4e8deeaafa6ae3998b24af035c8df9bd25e6527c4e1811645f53368da69eab
system_accounts="_hitch"

post_install() {
	vman hitch.8
	vman hitch.conf.5
	vlicense LICENSE
	vsv hitch
}
