#!/bin/sh
set -e

output="$(profanity -v)"

echo "$output" | grep -q "OMEMO support: Enabled"
echo "$output" | grep -q "OTR support: Enabled"
echo "$output" | grep -q "PGP support: Enabled"
echo "$output" | grep -q "Plugins: Enabled (Lua"
echo "$output" | grep -q "Desktop notification support: Enabled"
echo "$output" | grep -q "Tray (StatusNotifierItem): Enabled"
echo "$output" | grep -q "GDK Pixbuf: Enabled"
