I used to use LICEcap, but for some reason it was failing me (I don’t remember what). I went on a journey (through 10 Mac gif makers) to find the “best” gif maker and I settled on GIF Brewery[1] and I’ve never looked back.
I've had trouble doing captures on a second monitor; the gifs turn out all black. I always move my items to my laptop monitor before capturing and that does the trick.
[1] - https://gfycat.com/gifbrewery