# Template file for 'offpunk'
pkgname=offpunk
version=2.1
revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
depends="chafa file less python3-BeautifulSoup4 python3-chardet
 python3-cryptography python3-feedparser python3-readability-lxml
 python3-requests python3-setproctitle xdg-utils xsel"
short_desc="Offline-first command-line browser for gemini, gopher and the web"
maintainer="Maeve Sproule <code@sprock.dev>"
license="BSD-2-Clause"
homepage="https://sr.ht/~lioploum/offpunk"
changelog="https://git.sr.ht/~lioploum/offpunk/blob/master/CHANGELOG"
distfiles="https://git.sr.ht/~lioploum/offpunk/archive/v${version}.tar.gz"
checksum=e764671241214d7ccf7a86309cc80030eb43185e1dab218833602890615037ac

post_install() {
	vlicense LICENSE
	vman man/ansicat.1
	vman man/netcache.1
	vman man/offpunk.1
	vman man/opnk.1
}
