# Template file for 'wesnoth'
pkgname=wesnoth
version=1.12.4
revision=1
#wrksrc="${pkgname}-${version}.0"
build_style=cmake
configure_args="-DENABLE_OMP=1"
hostmakedepends="cmake pkg-config"
makedepends="dbus-devel libgomp-devel fribidi-devel SDL_image-devel SDL_net-devel SDL_ttf-devel SDL_mixer-devel pango-devel libvorbis-devel zlib-devel bzip2-devel boost-devel"
depends="desktop-file-utils"
short_desc="Turn-based fantasy strategy game"
maintainer="Philipp Hirsch <itself@hanspolo.net>"
license="GPL-2"
homepage="https://wesnoth.org/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=bf525060da4201f1e62f861ed021f13175766e074a8a490b995052453df51ea7

post_install() {
	# runit service
	vsv wesnothd
}
