{"action":"created","issue":{"url":"https://api.github.com/repos/boothj5/profanity/issues/606","labels_url":"https://api.github.com/repos/boothj5/profanity/issues/606/labels{/name}","comments_url":"https://api.github.com/repos/boothj5/profanity/issues/606/comments","events_url":"https://api.github.com/repos/boothj5/profanity/issues/606/events","html_url":"https://github.com/boothj5/profanity/issues/606","id":103021712,"number":606,"title":"Doesn't compile if libgpgme is not available","user":{"login":"User0815","id":1118994,"avatar_url":"https://avatars.githubusercontent.com/u/1118994?v=3","gravatar_id":"","url":"https://api.github.com/users/User0815","html_url":"https://github.com/User0815","followers_url":"https://api.github.com/users/User0815/followers","following_url":"https://api.github.com/users/User0815/following{/other_user}","gists_url":"https://api.github.com/users/User0815/gists{/gist_id}","starred_url":"https://api.github.com/users/User0815/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/User0815/subscriptions","organizations_url":"https://api.github.com/users/User0815/orgs","repos_url":"https://api.github.com/users/User0815/repos","events_url":"https://api.github.com/users/User0815/events{/privacy}","received_events_url":"https://api.github.com/users/User0815/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-25T13:26:16Z","updated_at":"2015-08-25T19:12:09Z","closed_at":null,"body":"I just noticed it after pulling the latest version. It then compiled after removing my local copy and cloning it again, but I think lines 488-495 in `src/command/commands.c` need to be inside a `#ifdef HAVE_LIBGPGME` block."},"comment":{"url":"https://api.github.com/repos/boothj5/profanity/issues/comments/134705108","html_url":"https://github.com/boothj5/profanity/issues/606#issuecomment-134705108","issue_url":"https://api.github.com/repos/boothj5/profanity/issues/606","id":134705108,"user":{"login":"mudrd8mz","id":85831,"avatar_url":"https://avatars.githubusercontent.com/u/85831?v=3","gravatar_id":"","url":"https://api.github.com/users/mudrd8mz","html_url":"https://github.com/mudrd8mz","followers_url":"https://api.github.com/users/mudrd8mz/followers","following_url":"https://api.github.com/users/mudrd8mz/following{/other_user}","gists_url":"https://api.github.com/users/mudrd8mz/gists{/gist_id}","starred_url":"https://api.github.com/users/mudrd8mz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mudrd8mz/subscriptions","organizations_url":"https://api.github.com/users/mudrd8mz/orgs","repos_url":"https://api.github.com/users/mudrd8mz/repos","events_url":"https://api.github.com/users/mudrd8mz/events{/privacy}","received_events_url":"https://api.github.com/users/mudrd8mz/received_events","type":"User","site_admin":false},"created_at":"2015-08-25T19:12:09Z","updated_at":"2015-08-25T19:12:09Z","body":"Same here. The compilation fails with\r\n\r\n    src/command/commands.c: In function ‘cmd_account’:\r\n    src/command/commands.c:489:21: error: implicit declaration of function ‘p_gpg_valid_key’ [-Werror=implicit-function-declaration]\r\n            if (!p_gpg_valid_key(value)) {\r\n\r\nPutting the code into the ifdef block worked for me."}}