[source]
tar = "https://feh.finalrewind.org/feh-3.11.2.tar.bz2"
blake3 = "b9d704e0b37d99068cbc76d2b73c3b6ef673612060d7cfef0f5a3e8886255276"
script = """
autotools_recursive_regenerate
"""

[build]
dependencies = [
    "freetype2",
    "imlib2",
    "libpng",
    "libxau",
    "libxcb",
    "libx11",
    "libxext",
    "libxinerama",
    "libxt",
    "x11proto",
    "zlib",
]
template = "custom"
script = """
DYNAMIC_INIT
rsync -a --delete "${COOKBOOK_SOURCE}/" ./
export LDLIBS="$("${PKG_CONFIG}" --libs freetype2 imlib2 libpng x11)"
export PREFIX="/usr"
"${COOKBOOK_MAKE}" curl=0 verscmp=0
install -Dm0755 src/feh "${COOKBOOK_STAGE}/usr/bin/feh"
"""
