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

EAPI=8

CRATES=""
RUST_MIN_VER="1.95.0"

inherit git-r3 cargo

DESCRIPTION="Yet another cross-platform graphical process/system monitor."
HOMEPAGE="https://bottom.pages.dev/stable/ https://github.com/ClementTsang/bottom"
EGIT_REPO_URI="https://github.com/ClementTsang/bottom.git"

LICENSE="MIT"
LICENSE+=" Apache-2.0 ISC MIT MPL-2.0 Unicode-3.0 ZLIB"
SLOT="0"
KEYWORDS=""

QA_FLAGS_IGNORED="usr/bin/${PN}"
QA_PRESTRIPPED="usr/bin/${PN}"

src_unpack() {
    git-r3_src_unpack
    cargo_live_src_unpack
}