As I said previously, there are many methods you can use to protect your matches. I favour a small plastic container with a screw-top lid.
You can also use two old shotgun cartridges to make a container. Remove the plastic from one cartridge by burning it in the fire and this will then be the container top. Remove the crimped plastic on the end of the other cartridge and the container is complete.
It is recommended to cover the nipple inside the lid with wax as it has been known for matches to "strike" and ignite on this while in the pocket.
You can also cover the matches in wax to protect them. One method is to poor a thin layer of melted wax in a matchbox tray and then lay matches into the wax. Then add another layer of wax and more matches until you fill the tray. Then just leaver out a match when you need one. I have found with this method that the stem of the match will often break as you remove it though (just like the one in this picture).
I prefer instead to individually coat the matches. First I wrap each match in a layer of cotton wool and then dip the match in melted wax, ensuring the whole thing is completely covered.
When I want to use the match I remove the layer of wax around the head and then strike it as normal. The cotton wool acts as a wick and the match burns rather like a candle. One of these matches will burn for up to two minutes!