Well look at this: Make Your Own Altoids.
It takes gum paste, powdered sugar, and flavored oil, presumably peppermint.
I like Altoids, as you can tell by my post about what to do with Altoids tins. I wonder if making your own is cheaper than buying them. Hmmmm…