In /usr/bin/gpgme-config line 41:
libs_pthread="-lpthread"
^----------^ SC2034: libs_pthread appears unused. Verify use (or export if used externally).


In /usr/bin/gpgme-config line 68:
    exit $1
         ^-- SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
    exit "$1"


In /usr/bin/gpgme-config line 78:
	    optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'`
                   ^-- SC2006: Use $(...) notation instead of legacy backticked `...`.

Did you mean: 
	    optarg=$(echo "$1" | sed 's/[-_a-zA-Z0-9]*=//')


In /usr/bin/gpgme-config line 214:
echo $output
     ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
echo "$output"

For more information:
  https://www.shellcheck.net/wiki/SC2034 -- libs_pthread appears unused. Veri...
  https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...
  https://www.shellcheck.net/wiki/SC2006 -- Use $(...) notation instead of le...