<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
    <id>$APP_ID</id>
    <metadata_license>MIT</metadata_license>
    <project_license>GPL-3.0-or-later</project_license>

    <name>$APP_NAME</name>
    <summary>Chat Freely, Stay Private on Nostr</summary>

    <developer id="su.reya">
        <name translate="no">Ren Amamiya</name>
    </developer>

    <description>
        <p>
            Chat freely without sharing phone numbers or emails.
        </p>
        <p>
            Your messages are encrypted, and your privacy stays protected.
        </p>
        <p>
            Just privacy, made simple - with Nostr.
        </p>
    </description>

    <launchable type="desktop-id">$APP_ID.desktop</launchable>

    <branding>
        <color type="primary" scheme_preference="light">$BRANDING_LIGHT</color>
        <color type="primary" scheme_preference="dark">$BRANDING_DARK</color>
    </branding>

    <content_rating type="oars-1.1">
        <content_attribute id="social-chat">intense</content_attribute>
        <content_attribute id="social-audio">intense</content_attribute>
    </content_rating>

    <url type="homepage">https://reya.su/coop</url>
    <url type="bugtracker">https://github.com/lumehq/coop/issues</url>
    <url type="faq">https://github.com/lumehq/coop</url>
    <url type="help">https://github.com/lumehq/coop/issues</url>
    <url type="contact">https://reya.su/</url>
    <url type="vcs-browser">https://github.com/lumehq/coop</url>
    <url type="contribute">https://github.com/lumehq/coop/blob/main/CONTRIBUTING.md</url>

    <supports>
        <internet>yes</internet>
    </supports>

    <recommends>
        <control>pointing</control>
        <control>keyboard</control>
        <display_length compare="ge">768</display_length>
    </recommends>

    <screenshots>
        <screenshot type="default">
            <caption>Coop with the default screen, showing current user's chat rooms</caption>
            <image>https://npub1zfss807aer0j26mwp2la0ume0jqde3823rmu97ra6sgyyg956e0s6xw445.blossom.band/07b03b8c269b67eedcd265d11ebe7384ba797364056a60105cd02cf34de4eff2.png</image>
        </screenshot>
        <screenshot>
            <caption>Example of chat room's message list</caption>
            <image>https://npub1zfss807aer0j26mwp2la0ume0jqde3823rmu97ra6sgyyg956e0s6xw445.blossom.band/4125cd78696274e92c53c09ac2fed0c8c7a74912dca6ab80bef21badd6ae4232.png</image>
        </screenshot>
        <screenshot>
            <caption>Coop in Dark Mode with split panels feature</caption>
            <image>https://npub1zfss807aer0j26mwp2la0ume0jqde3823rmu97ra6sgyyg956e0s6xw445.blossom.band/9cea2a2d5d18ec6472d357f7288f283dc43c672580956cef3242f0d07e214691.png</image>
        </screenshot>
        <screenshot>
            <caption>Example of screening chat request</caption>
            <image>https://npub1zfss807aer0j26mwp2la0ume0jqde3823rmu97ra6sgyyg956e0s6xw445.blossom.band/6f1c32b150788b706dd29a311bd7e342c63387013c0b084392b2e5a05c7908d5.png</image>
        </screenshot>
        <screenshot>
            <caption>Example of composing a new message</caption>
            <image>https://npub1zfss807aer0j26mwp2la0ume0jqde3823rmu97ra6sgyyg956e0s6xw445.blossom.band/9be26d1132de3feff0a518cb17afd8319e421ed2cfb0035cb47aceba928bf96d.png</image>
        </screenshot>
    </screenshots>

    <releases>
		@release_info@
		<release version="0.0.0" date="1970-01-01">
			<description>
				<p>Dummy release to keep flatpak-builder AppStream metadata validation from complaining</p>
			</description>
		</release>
    </releases>
</component>
