#!/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: Disabled"
echo "$output" | grep -q "Desktop notification support: Disabled"
echo "$output" | grep -q "GTK icons/clipboard: Disabled"
echo "$output" | grep -q "GDK Pixbuf: Disabled"
