# Template file for 'LGOGDownloader'
pkgname=LGOGDownloader
version=3.15
revision=1
build_style=cmake
configure_args="$(vopt_bool qt USE_QT_GUI)"
hostmakedepends="pkg-config"
makedepends="libtidy5-devel tinyxml2-devel libcurl-devel rhash-devel
 jsoncpp-devel boost-devel openssl-devel zlib-devel
 $(vopt_if qt "qt6-webengine-devel qt6-declarative-devel
 qt6-webchannel-devel qt6-location-devel")"
short_desc="Open source downloader for GOG.com games that uses the GOG.com API"
maintainer="RunningDroid <runningdroid@zoho.com>"
license="WTFPL"
homepage="https://github.com/Sude-/lgogdownloader"
changelog="https://github.com/Sude-/lgogdownloader/releases"
distfiles="https://github.com/Sude-/lgogdownloader/archive/v${version}.tar.gz"
checksum=d72c7a5f31e8bf334467eec2066c6f9286676dec4ac03eb989bc18f8a8b56cea

build_options="qt"
desc_option_qt="Include QT WebEngine to support solving captchas"
