In a heavy skillet over high heat, toast the whole spices (seeds) and chilies, shaking the pan regularly to prevent scorching, until very fragrant, about 3 minutes. Transfer to a bowl and let cool completely.
Grind the cooled spices in a spice or coffee grinder. Add all remaining ground spices and salt and grind everything together.Store in an airtight container in a dark, cool place. Will keep for up to 3 months.
Notes
If you like extreme heat, leave a few of the seeds in. It will still be very spicy even without the seeds.