#!/bin/sh
set -e

output="$(profanity -v)"

echo "$output" | grep -q "C plugins: Enabled"
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 "Python plugins: Enabled"
echo "$output" | grep -q "Desktop notification support: Enabled"
echo "$output" | grep -q "GTK icons/clipboard: Enabled"
echo "$output" | grep -q "GDK Pixbuf: Enabled"
