# Template file for 'hugo'
pkgname=hugo
version=0.49.2
revision=1
build_style=go
hostmakedepends="git"
depends="$(vopt_if pygments python-Pygments)"
go_import_path="github.com/gohugoio/${pkgname}"
short_desc="A Fast & Modern Static Website Engine"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="Apache-2.0"
homepage="http://gohugo.io"
distfiles="https://${go_import_path}/archive/v${version}.tar.gz"
checksum=aa33ec72154e38ac64c9d17b2dcb111cdac58e4d479ac92d1ba7ac54988380ed

build_options="pygments"
desc_option_pygments="Alternative syntax highlighter"

post_install() {
	vlicense LICENSE
	vdoc README.md
}
