# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit git-r3 toolchain-funcs

DESCRIPTION="Lava lamp simulation using metaballs in the terminal written in C"
HOMEPAGE="https://github.com/AngelJumbo/lavat"
EGIT_REPO_URI="https://github.com/AngelJumbo/lavat.git"

LICENSE="MIT"
SLOT="0"

src_compile() {
	emake CC="$(tc-getCC) ${CFLAGS} ${LDFLAGS}"
}

src_install() {
	emake PREFIX="${ED}/usr" install
	dodoc README.md
}