# Description: A free and open-source replacement for the Epic Games Launcher
# URL: https://github.com/derrod/legendary
# Maintainer: unmaintained
# Depends on: python3-requests
# Optional: wine

name=legendary
version=0.20.33
release=1
source=(
https://github.com/derrod/legendary/archive/$version/${name#*-}-$version.tar.gz)

build() {
	cd ${name#*-}-$version
	/usr/bin/python3 setup.py build
	/usr/bin/python3 setup.py install --prefix=/usr --root=$PKG --optimize=1 --skip-build
}
