# Template file for 'offpunk'
pkgname=offpunk
version=2.2
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="AGPL-3.0-only"
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=c6afc11bcfc8624f2eb79e97b37987ee3a9b46fe0888a09d86310fd3a7ddb346

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