# Template file for 'instead'
pkgname=instead
version=3.2.2
revision=2
build_style=cmake
build_options="gtk3 sdl2"
build_options_default="sdl2"
configure_args="$(vopt_if sdl2 -DWITH_SDL2=ON) $(vopt_if gtk3 -DWITH_GTK3=ON)"
makedepends="lua51-devel $(vopt_if gtk3 'gtk+3-devel' 'gtk+-devel')
 $(vopt_if sdl2 'SDL2_image-devel SDL2_mixer-devel
 SDL2_ttf-devel' 'SDL_image-devel SDL_mixer-devel SDL_ttf-devel')"
short_desc="Interactive fiction interpreter"
maintainer="SolitudeSF <solitudesf@protonmail.com>"
license="MIT"
homepage="https://instead-hub.github.io"
changelog="https://raw.githubusercontent.com/instead-hub/instead/master/ChangeLog"
distfiles="https://github.com/instead-hub/instead/releases/download/${version}/instead_${version}.tar.gz"
checksum=fd3e732e548a36ae85a27ea2e0743fd8c097ab8b613fc6e4b86a762fd15def1f

post_install() {
	vlicense COPYING
}
