# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Makes the color of your computer's display adapt to the time of the day"
HOMEPAGE="https://justgetflux.com/"
SRC_URI="https://justgetflux.com/linux/${PN}12.tgz -> ${PN}12-${PV}.tar.gz"
S="${WORKDIR}"

KEYWORDS="-* amd64"
LICENSE="f.lux"
SLOT="0"

RESTRICT="bindist mirror"

RDEPEND="
	x11-libs/libX11
	x11-libs/libXext
	x11-libs/libXrandr
	x11-libs/libXxf86vm
"

QA_PREBUILT="usr/bin/xflux"

src_install() {
	newbin xflux12 xflux
}