# Template file for 'hitch'
pkgname=hitch
version=1.5.0
revision=2
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="BSD-2-Clause"
homepage="https://hitch-tls.org/"
distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
checksum=0ec254699292f73e419ff279d2834db31026192ef373a91badd82e2dc7154d0b
system_accounts="_hitch"

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